<div class="sidebar">
    <div class="tag_related">
        <h2>相关标签</h2>
        <div class="tag_btn clearfix">
            <foreach name="tag_relative" item="row">
                <a target="_blank" href="__APP__/search?keyword={$row.name}">{$row.name}</a>
            </foreach>
        </div>
    </div>
    <div class="other_collect">
        <h2>下载该资源用户也下载了</h2>
        <ul class="clearfix">
            <foreach name="downloads" item="row">
                <li>
                    <a class="image_link" href="__APP__/templates/{$row.id}.html" target="_blank">
                        <img src="{$row.id|getModalsLogo=###,'middle'}" alt="{$row.name}" />
                    </a>
                    <a href="__APP__/templates/{$row.id}.html" class="title" target="_blank">{$row.name}</a>
                </li>
            </foreach>
        </ul>
    </div>
     </div>